package com.baidu.bulls.stock.entity.user;

import com.baidu.bulls.stock.entity.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * <p>
 * 菜单操作表
 * </p>
 * @author //蔡志豪
 * @since 2022-02-18
 */
@Data
@Api(value = "HATEOAS接口-菜单操作管理(AuthorityMenuOperation)")
@Entity
@EqualsAndHashCode(callSuper = false)
@TableName("t_authority_menu_operation")
@Table(name = "t_authority_menu_operation")
@ApiModel(value="AuthorityMenuOperation", description="菜单操作表")
public class AuthorityMenuOperation extends BaseEntity {

    @ApiModelProperty(value = "自定义菜单id")
    @Column(name = "menuId")
    private Long menuId;

    @ApiModelProperty(value = "操作名称")
    @Column(name = "operationName")
    private String operationName;

    @ApiModelProperty(value = "操作URI地址")
    @Column(name = "operationUri")
    private String operationUri;

    @ApiModelProperty(value = "操作图标")
    @Column(name = "operationIco")
    private String operationIco;

    @ApiModelProperty(value = "状态（0无效1有效）",example = "1")
    @Column(name = "status")
    private Integer status;

    @ApiModelProperty(value = "权限菜单url")
    @Column(name = "operationResourceUrl")
        private String operationResourceUrl;


}
